import modules.mumu as mumu
import modules.ocr as ocr
import time

def detect_pres_esc(reader,results):
    """
    领取每日免费礼包
    :param reader: EasyOCR 
    :param results: 识别出的内容文本
    """
    message = ""

    # 点击每日免费礼包
    roi = None
    screenshot = mumu.get_mumu_screenshot_as_cv2()
    temp_results = ocr.ocr_with_easyocr(screenshot,reader,roi,False)
   
    time.sleep(0.5)

    # 确认是否领过直接退出
    screenshot = mumu.get_mumu_screenshot_as_cv2()
    
    

    # 领取每日免费礼包
    
    return message

    
    